  -- Attumen the Huntsman --
function spell0_15550(pUnit, Event) --@Intangible Presence,n/a--
pUnit:FullCastSpellOnTarget(29833,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15550', 12397, 1)
end
function spell1_15550(pUnit, Event) --@Shadow Cleave,n/a--
pUnit:FullCastSpellOnTarget(29832,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15550', 0, 1)
end
function spell2_15550(pUnit, Event) --@Summon Attumen (Mounted),n/a--
pUnit:FullCastSpellOnTarget(29799,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15550', 823, 1)
end
function spell3_15550(pUnit, Event) --@Uppercut,n/a--
pUnit:FullCastSpellOnTarget(29850,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15550', 811, 1)
end
function Sorts_15550(pUnit, Event)
choix_sorts_15550 = math.random(0, 3)
if choix_sorts_15550 == 0 then
pUnit:RegisterEvent('spell0_15550', 1, 1)
end
if choix_sorts_15550 == 1 then
pUnit:RegisterEvent('spell1_15550', 1, 1)
end
if choix_sorts_15550 == 2 then
pUnit:RegisterEvent('spell2_15550', 1, 1)
end
if choix_sorts_15550 == 3 then
pUnit:RegisterEvent('spell3_15550', 1, 1)
end
end
function mob15550_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15550', math.random(1500, 3000), 1)
end
function mob15550_Leave(pUnit, Event)
end
function mob15550_Kill(pUnit, Event)
end
function mob15550_Die(pUnit, Event)
pUnit:RemoveEvents();
end
RegisterUnitEvent(15550, 1, 'mob15550_Action')
RegisterUnitEvent(15550, 2, 'mob15550_Leave')
RegisterUnitEvent(15550, 3, 'mob15550_Kill')
RegisterUnitEvent(15550, 4, 'mob15550_Die')
